﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Navigation;

namespace Fayshine.VA.Views
{
    public partial class Test5 : Page
    {
        public Test5()
        {
            InitializeComponent();
            this.Loaded += new RoutedEventHandler(Test5_Loaded);
        }

        void Test5_Loaded(object sender, RoutedEventArgs e)
        {
            List<Customer> cust = new List<Customer>();
            cust.Add(new Customer() { Time = "00:00", Number = 0 });
            cust.Add(new Customer() { Time = "01:00", Number = 0 });
            cust.Add(new Customer() { Time = "02:00", Number = 0 });
            cust.Add(new Customer() { Time = "03:00", Number = 0 });
            cust.Add(new Customer() { Time = "05:00", Number = 0 });
            cust.Add(new Customer() { Time = "06:00", Number = 0 });
            cust.Add(new Customer() { Time = "07:00", Number = 0 });
            cust.Add(new Customer() { Time = "08:00", Number = 5 });
            cust.Add(new Customer() { Time = "09:00", Number = 0 });
            cust.Add(new Customer() { Time = "10:00", Number = 0 });
            cust.Add(new Customer() { Time = "11:00", Number = 0 });
            cust.Add(new Customer() { Time = "12:00", Number = 0 });
            cust.Add(new Customer() { Time = "13:00", Number = 0 });
            cust.Add(new Customer() { Time = "14:00", Number = 55 });
            cust.Add(new Customer() { Time = "15:00", Number = 0 });
            cust.Add(new Customer() { Time = "16:00", Number = 0 });
            cust.Add(new Customer() { Time = "17:00", Number = 0 });
            cust.Add(new Customer() { Time = "18:00", Number = 0 });
            cust.Add(new Customer() { Time = "19:00", Number = 0 });
            cust.Add(new Customer() { Time = "20:00", Number = 0 });
            cust.Add(new Customer() { Time = "21:00", Number = 0 });
            cust.Add(new Customer() { Time = "22:00", Number = 0 });
            cust.Add(new Customer() { Time = "23:00", Number = 0 });


            A a = new A();
            a.AA = cust;

            this.DataContext = a;
        }

        // Executes when the user navigates to this page.
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
        }

    }
}
